|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjp.co.ricoh.dsdk.scard.framework.card.CardManager
This class is the core class of the Framework.
| Field Summary | |
static int |
INFINITY
When this constant is specified to the waitForCard method, no timeout will occur. |
| Constructor Summary | |
CardManager()
Constructs a new CardManager object. |
|
| Method Summary | |
void |
abort()
Interrupts all waitForCard invocations that are currently being executed by this card manager. |
void |
addCardListener(CardEventListener listener)
Adds a CardListener. |
protected void |
finalize()
|
Slot[] |
listSlots()
Obtains a list of the slots that are currently available. |
void |
removeCardListener(CardEventListener listener)
Removes a CardListener. |
Card |
waitForCard(long ms)
Waits until a card is inserted in a slot. |
Card |
waitForCard(long ms,
CardFilter filter)
Waits until a card is inserted in a slot. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int INFINITY
| Constructor Detail |
public CardManager()
throws InitializeException
InitializeException -
when an error has occurred in the initialization of the card manager.| Method Detail |
public Slot[] listSlots()
throws SlotAccessException
SlotAccessException -
when an error has occurred in the obtainment of a list of the slots.
public Card waitForCard(long ms)
throws TimeoutException
ms -
a timeout specified in millisecond.
If CardManager.INFINITY is specified, a timeout will never occur.
TimeoutException -
when a timeout has occurred.
public Card waitForCard(long ms,
CardFilter filter)
throws TimeoutException
ms -
a timeout specified in millisecond.
If CardManager.INFINITY is specified, a timeout will never occur.filter - a CardFilter.
TimeoutException -
when a timeout has occurred.public void addCardListener(CardEventListener listener)
listener - The CardListener to be added.public void removeCardListener(CardEventListener listener)
listener - The CardListener to be removed.public void abort()
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||